Militants inflict heavy losses on Benin’s armed forces in an attack in the north