Jim O’Neill said the new prime minister should rein in the “excesses” of government expenditure and tackle “sacred cows”.