If the Supreme Court upholds the ruling, President Donald Trump would lose some, but not all, of his broad tariff powers.