[PATCH 1/4] libnvdimm: remove redundant list_empty() check in badrange.c