Revert the debug events `fact/3` and `rule/3` back to `fact/4` and `rule/4` with the first argument being the container entity

This change is required to display correct source file information when tracing calls to multifile predicates.