Surfactant Variations in Porous Media Localize Capillary Instabilities during Haines Jumps