President Trump is planning to gut the work force while trying to turn the I.R.S. into a more political agency.