Partial Regularity for Harmonic Maps into Spheres at a Singular or Degenerate Free Boundary