How did the crackheads make a statement? If I am going to pull my gun, someone is going to get shot and the only statements made will be by me.
Shoot the dog first then shoot the owner, and tell the cop that it was ordered to attack. I doubt you would be required to flee from a dog, I also think that three against one would have put you at such a disadvantage that you could have easily said, "I feared for my safety and they kept comming after I warned them and attempted to flee."
You are required to flee though and since you were not inside your property/home/car/ business if you had the opportunity to flee you are required to take it.
Unless you are unable to flee, for example a disabled person would not be required to flee to the same extent that an able bodied person would.