netifd: work around dangling prefix kernel-routes (fixes #14963)