NEW YORK—Wall Street stocks ended slightly higher on Monday, rising early after passage of an infrastructure spending bill but paring gains late as sliding Tesla shares weighed the indexes down. Still, the S&P 500 and the Nasdaq extended their run of all-time closing highs to eight straight sessions. The blue-chip Dow notched its second consecutive record closing high. “It has become a self-fulfilling prophesy,” said Paul Nolte, portfolio manager at Kingsview Asset Management in Chicago. “Why are the indexes going up? Because people are buying,” Nolte added. “Why are they buying? Because the indexes going up.” Tesla Inc. was the heaviest weight on the S&P 500. Its shares fell 4.9 percent following CEO Elon Musk’s Twitter poll on whether he should sell about 10 percent of his holdings of stock in the electric automaker company he founded. The poll garnered more than 3.5 million votes, with 57.9 percent voting “Yes”. …