The police chief noted that it was the first time in 24 years that a Montreal police officer had been killed while on duty