S&P closes little changed as chips boost Nasdaq in muted holiday trading