Frequency-dependent competition between strains imparts resilience to perturbations in a model of Plasmodium falciparum malaria transmission