The bill had placed Arizona at the center of a nationwide controversy, with many conservatives warning the governor not to sign it into law.