properly flush routes and l3 devices when tearing down interfaces