Borrowers and their parents and grandparents were among those who suffered when Navient violated a state consumer protection law, the court ruled.