S&P 500 and Nasdaq Give Way as Small Caps Advance