Hundreds of head office workers are facing cuts and loss-making branches are under threat of closure.