U.S. stocks close lower on tariff worries as losses erase all post-election gains for the S&P 500.