Set ground rules and emotional boundaries, and try changing your mind-set. Although it’s a diversion from your planned path, it could be “a steppingstone to a better future.”