1. Added flag that indicates if simplification was done during completion.
It is used in answer_completion to avoid an extra iteration.
2. Improved (I think) building of delay lists (for get_residual), to be
slightly more resilient to heap movement in GC.