evolvecmd: clear mergestate ourselves in _resolvephasedivergent()
repo.commitctx()
does not clear the mergestate. We need to clear the
mergestate ourselves here.
The issue poped up when we started having mergestate with extras and no conflicted files. Storage of these extras was recently added to mergestate.