Pathogen transmission from vaccinated hosts can cause dose-dependent reduction in virulence