Fixed IPv4NetworkConfigurator bug sometimes not being able to assign addresses.

Changed to assign most constrained addresses first.