Ruling is latest setback for claimants in new breed of collective legal action