Major stock indexes pulled back Tuesday after the benchmark S&P 500 and the tech-heavy Nasdaq hit new intraday records.