WUT? There is a window in law for someone with an expensive lawyer to evade the consequences of killing cops in the states
Now joking aside, I find it strange, courts and police are supposed to have separate jurisdictions... you are not arrested because you ARE guilty, it's not the police's job to judge you; on the other hand, a judge can NOT ignore the fact that you resisted arrest, whether it was justified or not, it does not matter. Well, at least in Greece and Germany, which of course follow different judicial systems it is so... in theory.
As I implied rules, laws, and all that crap are supposed to be obeyed, however unfair they are, otherwise we would have anarchy, and humanity on average has not evolved enough for such advanced social structures