Two militants and a police officer were killed .