Pre-preparation hook for running Goal0. The hook runs in the context
of the pengine. Goal is the raw goal given to ask. The returned
Goal1 is subject to goal expansion (expand_goal/2) and sandbox
validation (safe_goal/1) prior to execution. If this goal fails,
Goal0 is used for further processing.