If he had threatened your daughter, there would be no problem in you using lethal force.

I personally most likely would not have shot him, but I am not mad/ashamed/outraged or anything, you warned him a bunch of times, your dog was contained and unable to get away from a fight, and you did what you did.