A federal judge struck down the rule just days before Donald J. Trump, who promised to unwind much of it, assumes the ...