Equifax agrees to pay up to $700M to settle hacking lawsuits