Top prison guard gets 3 years for failing to medically assist Virginia inmate who later died