nvme: factor out a nvme_ns_remove_by_nsid helper