Lawmakers revoked NC’s gun permit law. It might have saved professor killed at UNC.