Runaway electron deconfinement in SPARC and DIII-D by a passive 3D coil