AlarmCalendar::removeKAEvents can sometimes delete some, but not all
events from a KAEvent::List stored in mResourceMap. In that case, the
list is left as is, with some pointers invalid. That would later
cause crashes.
This patch only retains valid pointer in the collection.
BUG: 410596