New research finds that people who steer clear of key cardiovascular hazards at midlife live much longer before developing dementia.