Cleanup of compiler code for the translation of predicate directives