The suspect fired 18 shots that an official described as an “AK-47 pistol,” which penetrated the officer’s ballistic vest