The U.S. economy shrank for a second quarter in a row—a common definition of recession—as the housing market buckled under…