Tunisian president orders constitution to be rewritten