Judge tosses some charges against officers in deadly arrest