S&P ends modestly lower as rising Treasury yields offset robust retail data