A federal judge said the airline must face a proposed class-action lawsuit. Now the carrier could owe passengers millions.