£49bn loss in tax take could have been a lot worse