Tunisia Islamists set to resign after deal on election commission