Remove the special case for empty dataframes in to_html.

Fixes issue #6062.