The mitigating effect of magnetic fields on Rayleigh-Taylor unstable inertial confinement fusion plasmasa)