iprange: simplify code
iprange: simplify code

The loop below the removed code already handles the special case the
deleted code implements.

katef/libfsm,katef/libfsm,katef/libfsm,katef/libfsm,katef/libfsm