Influence of predation on community resilience to disease