Active control of the instability of a dynamic laminar boundary layer on a flat impermeable plate subjected to a magnetic field