Theory of Collapse and Overcharging of a Polyelectrolyte Microgel Induced by an Oppositely Charged Surfactant