The major averages closed higher on Monday as investors hoped the Trump administration would take a softer approach toward tariffs.