Hydromagnetic equations with viscosity for a collisionless plasma