Seol mar théacs é seo: Stability and bifurcations in a model of antigenic variation in malaria