Home market S&P 500 ended higher for a fourth consecutive session on Tuesday, the index’s longest streak sin