Simplify compiler error checking for heads of clauses of multifile predicates