While we do, of course, take into account the intent of the perp, we also focus the most attention on what did they actually do. And the facts, as you’ve stated, zev(much as I admire you), are that the victim did not die.
For example, if some one attempts suicide and fails to do so, should we consider that person dead? Should we prosecute them for murder? no, I think not, even if their intent was as clear as a bell. Why? because intent can change. Who is to say that the reason the bullet missed is because of poor aim and not a last minute “oh no, I can’t do that”? And wouldn’t it be ironic to prosecute a failed suicide for murder (since that was their intent), and, as punishment for intentional homicide, sentence them to the death penalty?
Let me offer up some real life examples of prosecuting for the actual deed too:
A case (in Florida, IIRC) where 3 young adults thought it’d be funny to steal a stop sign. They did. A car with several other young persons did not stop at the intersection and were killed by a truck. The 3 thieves were convicted of a homicide (one of the lower ones, like manslaughter) in that they committed an act which could have been foreseen as having dire consequences, did have dire consequences etc, but they certainly had no specific intent to cause harm (did not even know the victims).
Their intent was to steal, not to kill, but death resulted. So, they paid the penalty for causing a death without having the intention of doing so. I believe this was correct.
Their intent was to steal. Should they be off the hook because they intended no harm? no - they should have been able to reasonably assume that some mayhem would happen if suddenly there were no stop sign. lacking specific intent to cause bodily harm should not prevent them from accepting the actual consequences of their actions. OTOH, I don’t want to extend now to anyone else dumb enough to steal a stop sign that they’ll prosecute for attempted murder 'cause in this other case a death resulted.
Another case in close by St. Johns, MI, a fist fight between two friends, one got hit in the head, fell. Seemed to be dazed, declined several attempts to get medical help to him, died. The surviving friend is being prosecuted for “open murder” (which, in my state means the jury/judge will examine the facts and determine the level of homicidal involvement). His intent was to assault. His actions led to a death. (FTR, I think this one will be difficult since the proximate cause of his death may have been falling out of bed, and not the original blow to the head).
So, in general, a balance of intended outcome and acutal outcome seems appropriate to me.