Resistance gained, resistance lost: An explanation for host–parasite coexistence