US close: S&P 500 turns ‘dovish’ for the year