Remove the debug images not referenced in the stack trace so the debug images don't contain customer data.