US president says deadline for Afghanistan pullout remains August 31, confirms bombing and shootings that killed 60 Afghans and 12 US troops carried out by local IS affiliate