fix(jqLite): fix regression where mutating the dom tree on a event breaks jqLite.remove

Closes #8359