Even before the immigration case landed on Judge James Boasberg's desk, he had ruled on cases involving President Donald Trump.