Structural sensitivity and resilience in a predator–prey model with density-dependent mortality