The Supreme Court has delivered an overdue rebuke to Donald Trump on tariffs