Wall St extends rally, pushing S&P 500 to 50th all-time high close this year