next_hop(): bug fix for ignoring units when ignore_units=true is set

A bug in the previous version let to them not being ignored when  the
were on the last hex of the next hop.