The U.S. Court of Appeals for the Second Circuit on Wednesday upheld the dismissal of CVR Energy Inc.'s legal malpractice suit against Wachtell, Lipton, Rosen & Katz stemming from Carl Icahn's takeover of the oil and gas refiner in 2012.