The Trump administration has warned that it could take years for refunds to be paid out for tariffs that the Supreme Court ruled are illegal.