hacprsim: reject nodes that are not publicly accessible from current context
parser/instref: perm' REUSE_PARSE_GLOBAL_FOR_LOCAL = 1
moved parse_node_to_local_index into parser/instref for reuse