The people struck by gunfire included two innocent bystanders, one of the officers and the man with the blade, who the police initially confronted because he hadn't paid his fare, officials said