[th/platform-address-order] fix the order of IP address in platform sync
The order in which we configure IP addresses matters. That was broken, fix it.
Also add several follow-up fixes with cleanups.
The order in which we configure IP addresses matters. That was broken, fix it.
Also add several follow-up fixes with cleanups.