Restore default route when changing IP

When changing the IP address of an interface, restore the default route
if the previous IP address of the interface was the default route.