Software and chips led a rebound from Monday's sell-off ahead of Trump's State of the Union speech and Nvidia earnings.