The U.S. Court of Appeals for the Second Circuit on Thursday upheld the dismissal of a lawsuit from a group of former IBM employees who sued to invalidate waivers that barred them from pursuing collective age-discrimination claims against the company after they were laid off.