U.S. stock indexes closed mostly higher Friday as gains for energy, phone and industrial companies made up for losses elsewhere. Real estate and utilities companies were among the biggest decliners. Some health insurers bounced back as support dwindled for the Senate Republicans' latest effort to roll back the Affordable Care Act.