It makes no sense for you to carry out your act of revenge right within walking distance of two Officer's. Your other options were to run away or turn yourself in if you believe you were about to be arrested, you gained nothing out of this and got yourself killed in the process for carrying out...