At least 34 people have been killed, including 10 soldiers, as wildfires swept across regions of Algeria, the Interior Ministry said.