Police said at least four extremists were involved in the attack, and that two were killed. The fate of the other two was not clear.