Nobody's happy about the death of a beloved pet, but allowing a dog who's been classified as "loose and aggressive" to be in a position to show agressive behavior towards others is irresponsible to both the community and the dog.  If I thought my son might be in danger from an animal, even my own dog, I would protect my child by any means necessary.  That is a perfectly natural reaction in the heat of the moment.