Stocks tumbled on Monday, putting the market on track to end the quarter with the worst performance in almost three years.