Union accuses government of hypocrisy over pay rise