(Bloomberg) — Stocks wiped out gains in the final 30 minutes of Wall Street trading, with investors rebalancing their portfolios after a rally that’s already topped $4 trillion this year. Equities finished lower for a third straight day, following a buying frenzy that saw the S&P 500 climb almost 10% in just three months. With…