The UN’s Political and Peacebuilding Affairs chief, Rosemary DiCarlo, concluded a three-day visit to Afghanistan on Thursday in which she met with senior Taliban representatives, urging them not to “erase” gains made by women and girls across the country in recent years.