The pope greeted crowds in St. Peter’s Square as doctors said his planned November trip to three South American countries remains on track.