For decades, most of the gains in the S&P 500 have come on days when Congress is not in session.