The Vatican said the pope’s statements in favor of civil unions for gay couples did not change church doctrine.