In 2009, after years of complaints from law-enforcement officials, lawmakers made a bipartisan deal to do away with the law barring registered sex offenders from living within 2,000 feet of a school, child care center or other places where children gather.