Various cleanup of PROV_R_ reason codes