A man who retired at 34 says it took him 3 years to stop obsessing over money and start tracking something even more important: his habits