U.S. President Donald Trump’s most concrete step to rein in unprecedented budget deficits — sweeping tariff hikes — faces the danger of a legal reversal that would put the nation’s finances on an even shakier footing.