Software stocks lead S&P 500 rotation as oil plunge reshuffles sectors