Reland 7a8b0b1595e7dc878b48cf9bbaa652087a6895db, with a fix that checks
!E.value().empty() to avoid inserting a zero to SlotRemap.
Debugged by rnk@ in https://bugs.chromium.org/p/chromium/issues/detail?id=1045650#c33 . I don't know how to get a WinEH reproduce.
Are you sure it wouldn't be better to do *SlotRemap.find(E.index())? Then it is clear that the operation is readonly. As is, I agree that it is impossible for this to insert a value, the vector for this index will only be non-empty if there is already an entry in the table.