Mexico's ruling Morena party hailed the bill's successful passage after years of back-and-forth with business owners.