US exit will stop IS attacks in Afghanistan, Taliban spokesperson says