The soldiers should be ignoring dogs entirely, unless they're attacked or feel threatened by them... in which case it should be goodnight dog.
I know it's tough for some people to see cute animals get wronged by assholes, I like dogs myself, but there are far greater problems than animal cruelty in Iraq right now, in light of those problems this dog bullshit doesn't matter at all.