In a blow to GM, a U.S. appeals court on Wednesday reversed part of a bankruptcy court ruling that protected the automaker from some lawsuits over an ignition-switch defect that prompted the recall of 2.6 million vehicles in 2014.