Director of Tunisian president’s office resigns