The labor union representing Treasury Department and Internal Revenue Service workers has asked a judge to block a sweeping tax audit immunity agreement for President Donald Trump.