The decision will shape firms’ relationships with litigation funders