A Beverly Hills firm finances divorces in exchange for a cut of any settlement. It’s not a loan. It’s an investment.