Grazer host density mediates the ability of parasites to protect foundational plants from overgrazing