With Afghan pullout, US ditches ‘forever wars’