Fix a bug in Simplifier

In a shared node, when merging contextes, CollectContext did not
update the mcontext array in the CollectContext-object, which is used for
collecting the contextes of the children of a shared node.