S&P 500, Dow pull back from record highs as shutdown worries loom