S&P 500 index on course for worst month since April amid creaking consumer confidence in US