Fix compiler bug when generating debug code for predicate rules where the rule head would be printed by the debugger as a fact