The top lawyer at the IRS is being demoted and replaced with a Trump ally who supports Musk’s DOGE unit.