Transition from endemic behavior to eradication of malaria due to combined drug therapies: an agent-model approach.