Tunisia army chief of staff resigns