tweak rem! function to remove tabset if there are no tabs

Close tabset when

* Tab is closed and there are no tabs in the tabset.  
* Tab is moved to another tabset and there are no tabs in source tabset.