NATO's commander in Afghanistan insists the dropping of the US military's largest non-nuclear bomb on the strongholds of Islamic State was the right weapon at the right time.