Stocks are in a pullback, but sector rotation is underway as small-cap bargains attract investor interest amid tech weakness.