Removing symplectic singularities with Dirac structures