Shooting that hurt 5 officers started with warrant attempt