A new study links avoiding smoking, managing blood pressure, and controlling diabetes in midlife to nearly 13 more years of dementia-free living.