Algerian speaker of parliament announces resignation