[win32] MVE: fix erasing view from bundle

iterator is invalidated after refs.erase