Effect of double nuclear scattering on nuclear-magnetic interference in experiment with small-angle diffraction of polarized neutrons