She only shot the perp once, like you would with a tazer. If she knew it was a gun, she is supposed to unload the magazine until the threat is neutralized.
It will be a difficult case to make, but she is charged appropriately.
And while the jury may not convict her, her defense team will bankrupt her.