Fix for _popEventHandlers deleting handlers not added by traitsui

Fix for problem reported in the mailing list where there was a crash in the DateEditor after a simple configure_traits test.