Seol mar théacs é seo: Stopping inward planetary migration by a toroidal magnetic field