Council staff to lift work bans after deal reached