Attack on Algerian security directorate leaves 3 dead