Research found avoiding one common condition will also dramatically cut the risk of developing dementia