Simulation of the Influence of Pulsed Magnetic Field on the Superalloy Melt with the Solid–Liquid Interface in Directional Solidification