Cleanup compiler code that handles discontiguous directives and predicates