I don't know about books either (other than Byron Katie's which I think deal with this, but not in the same words), but there was a post a while back where the subject came up and Angela made some good points:
When do you stop investing in a relationship?