A US judge has granted Customs and Border Protection time to establish a new system for processing tariff refunds after a Supreme Court ruling.