Successive U.S. Administrations have sought to improve ties with Algeria, an energy exporter with one of Africa’s largest militaries. Algeria is a top purchaser of Russian arms an…