Saudi Arabia ends three-year ban on foreign workers