Effects of oxygen removal in superconducting ErBa2Cu3Ox