Treasury becomes first public service department to convince staff to approve new wage deal