Fix cases where an instantiation error in `meta_predicate/1` or `meta_non_terminal/1` predicate directives would be missed