Carlyle Group Inc. has agreed to buy $7.7 billion of unsecured personal loans from Truist Financial Corp. This deal marks one of the asset manager’s largest such transactions as it expands its push into asset-backed credit.