[IMAPx] Speed-up folder cache removal on folder sync

This used to save store's summary after each single folder removal,
which includes also an fsync() call. Just remove unknown folders and
save changes once significantly speeds-up the initial folder hierarchy
sync with many folder removals.