If you keep ending up with the same kind of unhealthy relationship, maybe it's time to examine the pattern — not just the people.