U.S. District Judge Stephanie Gallagher of Maryland became the second judge this week to deal the Trump admin a legal setback.