Investors can bring such suits only when such omissions create “misleading half-truths,” Justice Sonia Sotomayor wrote for a unanimous court.