Three officers were shot and wounded before the suspect was killed