Accounting for farmers’ control decisions in a model of pathogen spread through animal trade