Transition to turbulence in MHD channel flow with spanwise magnetic field