(Reuters) - The S&P 500 cut earlier losses on Monday to end slightly lower, while the Dow declined for an eighth straight session, as investors assessed how the defeat of President Donald Trump’s first major legislative action would impact the rest of his agenda.