Fix bug in the `diagrams` tool where references to multifile predicates for parametric objects would be printed with internal variable names for the parameters