(insert_spaces_tab): fix floating point exception.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>