During the CNN Democratic debate in Detroit, Mayor Pete Buttigieg says he will withdraw all US troops from Afghanistan.