Influence of the magnetic field on the velocity of the ion component of the particle beam generated during a nanosecond vacuum dielectric flashover