Two militants were also killed when the police returned fire .