Unions back down, public sector workers split in pensions deal