Minor compiler optimization when checking for redefined built-in predicates