It's good to build a deterrent capability, and in case provoked then go to war ( like America did in 2001 against Osama). But they should have left long long  back ( peaceful or no peaceful transition ) leaving Afghan destiny in their hands. 
Anyways  Will end all Wars !!