Wall Street cheers uptick in layoffs as S&P 500 rises within 1% of its record high