The Treasury is to sack all its economists and will replace them with staff from the agency that runs driving tests (the DVSA).