Republican Irvin’s anti-crime plan rests on repealing law Democrats say he supported