Trump’s strategy of stonewalling Congress faced its first major legal test today, and the judge didn’t let either side off the hook