I should've been more clear but "slaying" the dragon causes all enemies to flee, so you are already killing the dragon.