Thirty-nine people were killed in northern Burkina Faso on Saturday, in what the government called a terrorist attack on a village in Soum province.