The NWSL and three attorneys general have agreed to a settlement over the league's past mistreatment of players.