The agreement stems from allegations that borrowers were directed into costly repayment paths instead of more affordable options.