Attorneys general in 40 states have reached a $1.8 billion settlement with student loan processor Navient, which was accused by the government of intentionally saddling borrowers with high-interest loans the company knew they wouldn’t be able to afford.