Bug 1018904: Check we can remove a tab before trying to remove it in Marionette; r=mdas