The shingles vaccine is intended to prevent shingles, but a new study suggests that it could have major secondary benefits.