Hysteresis in simulations of malaria transmission