The court did not say how the government should refund Trump's illegal tariffs, worth an estimated $175 billion.