Fix crash when unmapping last child of a tabbed workspace
Fix crash when unmapping last child of a tabbed workspace

* Create layout T[view view]
* Move the cursor into the title bar area
* Close both views

Sway would crash because container_at_tabbed would attempt to divide by
zero when there are no children.

The children check isn't needed for the stacked function because it
doesn't divide anything by the number of children.

Fixes #2636.

ascent12/sway,1ace/sway,ascent12/sway,1ace/sway,1ace/sway,ascent12/sway,SirCmpwn/sway