Answer:
It prevents the cell from passing on those defects to other cells through DNA replication in cell division. By self destructing before it gets the chance to divide, whatever problem the cell had ends right there and doesn't propagate in the organism.