Politicians, judges and top public servants to gain 2% pay rise after wage freeze