Several courts are considering whether state and local claims seeking billions in damages can go to trial.