That's clearly excessive force. The cop had no reason to fear for his safety, the "attack" was over. Shooting someone at this range is potentially lethal, regardless of the ammunition. 

The dude is an idiot, but the cop had no right to shoot without prior warning.