Effects of random habitat destruction in a predator–prey model