The military says several militant fighters were killed and five were detained in the battle .