The finite element method for MHD flow at high Hartmann numbers