Head of Tunisia’s official electoral commission resigns