Morally he didn’t do it, and maybe Quirrel even had a desire to kill her sitting on a back burner before Harry got involved, but her death was caused by her interaction with Harry. It is no stretch to say that there is at least one hypothetical sequence of actions Harry could have taken, even given knowledge at the time (not realizing she worked for Lucius or was an animagus) which would not have resulted in her death. Heck, doing nothing would have resulted in her not death.
That is the level of challenge Harry is taking upon himself. Not just to not kill anyone, not just to keep your hands clean, not just to save people when he can. He’s declaring that if any innocent person anywhere dies and there’s something he could have done differently to save them, that’s his failure condition. You can’t do that.
That said, I thought about it a few minutes more and it could be his resolution is really about knowing he doesn’t know how bad the situation is. It’s certainly possible to get through, say, a political power struggle with someone like Lord Malfoy without anyone getting killed. Harry considers it possible but doesn’t yet believe that his opponent is Voldemort. If his opponent is Voldemort avoiding casualties is impossible. If his opponent is someone less evil (though still pretty nasty), and the scope of the conflict is much smaller, he might be able to pull it off.
Is it me, or does Harry’s solution to this dilemma seem rather… half-assed? Ignoring potential the loss of effectiveness from his resolving to suddenly switch directions the first time things get bad, is he really going to know the first time someone dies as a result of his war? How will he know the difference? He’s already gotten someone killed by his actions (Rita Skeeter, who he doesn’t even know about) and another person gravely injured (that auror hurt by the rocket, who he doesn’t know about but admittedly he thought the whole affair was a mistake afterward anyways). How about opportunity costs, the fact that if you handed me 100000 galleons demanding I save at least 10 lives with it I could hand you back 99000 in change. And that’s before the “war” even “started”; hostilities are going to get more open and more direct from here. It’s madness to think you can finish war, even a weird semi-geurella war like this, with zero casualties, or that you’ll know about every one.
With the condition he gave himself anyone should be able to see that “failure” is a foregone conclusion. And there’s very good odds he’s not going to learn that what he’s doing isn’t working until he’s racked up a far worse bodycount than one.