Both bankrupt firms reached an agreement in principle to resolve FTX's claims against Genesis, lawyers said.