Chancellor takes axe to Whitehall jobs as government faces pressure from US over tech tax