Major U.S. stock indexes closed higher Friday, except for the Nasdaq Composite Index, despite Washington’s failure to produce a last-minute coronavirus aid package before Congress takes a summer recess, leaving America’s economic recovery hanging in the balance.