Specialization and Trade-Offs in The Evolution of Resistance to Cheating in The Social Amoeba