They never would have been charged if, you know, the suspect didn’t end up dead. Besides, that’s only “reasonable suspicion” - that allows them to stop him and search, not necessarily arrest. And he didn’t have anything illegal when they searched him. Hence, it’s an illegal arrest.