Tunisia deal brings end to Islamist government