Plane problem of magnetoelasticity for ferromagnetic media weakened by holes