Tunisian prime minister announces resignation