The U.S. reached an agreement with Mexico on tariffs. This is easing some of the trade concerns that have been weighing down the market.