Judge Kathleen Williams calls Trump’s IRS lawsuit self-serving, refers lawyer for discipline. Ruling questions legal legitimacy of $10B claim.