ethdev: fix device state on detach