The author of “Eat, Pray, Love” chose an unplanned love over the happy ending that sold 10 million books