The kid demonstrated intent by firing at the cop. That was clear. The cop has to assume he still has the gun and intends to shoot again. Unless the cop observed him tossing the gun, shooting in the back is justified, as the subject is possibly looking for a tactical advantage to reengage.
If...