Resistance to malaria through structural variation of red blood cell invasion receptors