Federal judges dealt numerous blows to Trump’s agenda this week as he and his allies have been railing against the judiciary.