US President Donald Trump's administration says it intended to appeal a judge's order that allows all companies that paid invalidated tariffs to seek refunds.