Hedge funds speculating on wildfire insurance claims in California were just dealt a legal blow.