Add missing ifref in ip_output, carry rcvif in promiscuous mtag so it
is available in the mbuf-reuse output paths, and remove dead code.