The 71-year-old underwent an operation to remove a pulmonary adenocarcinoma, among the most common types of lung cancer. Officials said it was “successfully completed.” The diagnosis raised alarm over the pope’s health only 17 months into his papacy.