One of Trump’s biggest power grabs just got gutted.