Equifax has agreed to pay $650 million to settle a series of state and federal investigations into a massive 2017 data breach that left more than 147 million Americans’ names, Social Security numbers, credit-card details and other sensitive information exposed.