Agree with what has been said so far...you've done a very good job of trying to extricate yourself from what really seems to be a tangled mess.
Only other advice I can give is to just wait. Give it time and see how things go. You don't have to decide what your role in this situation is going to be just yet...there may not even be a role for you to play. Continue reflecting on the situation, as you have been, and the right answers will come.
Be well!