tab: Add debugging checks to tab_hline() to match those for tab_vline().