Stability of hydrostatic equilibrium for the 2D BMHD system with partial dissipation