Researchers found that some plant-based diets were linked to lower dementia risk, while others were not.