Unidentified militants killed at least 10 soldiers and wounded many others in an attack on a military unit in northern Burkina Faso on Monday, the army said.