checkpoint: preserve devices that were removed and readded
Summary
Fix errors when rolling back a checkpoint taken with flag DISCONNECT_NEW_DEVICES, and one of the devices was removed and readded.
Fix errors when rolling back a checkpoint taken with flag DISCONNECT_NEW_DEVICES, and one of the devices was removed and readded.