Complete and robust magnetic field confinement by superconductors in fusion magnets