On an initial boundary-value problem for the equation of magnetohydrodynamics with the hall and ion-slip effects