“The Islamic State group’s local affiliate has stepped up attacks against the Taliban and civilians since the former insurgents took over the country