We quit guitars, businesses, and diets after a few failures. But heartbreak after heartbreak, we keep going back. The reasons are biological, psychological, and more rational than they look.