A potential Supreme Court ruling declaring Trump-era tariffs illegal could trigger roughly $300 billion in refunds to importers, underscoring the financial and legal ramifications of the tariffs for the U.S. economy.