Training on regression labels with NaNs
Allows for training on regression targets where some labels are None, such as HadronConeExclTruthLabelLxy, which is only defined for jets containing hadrons (mostly B/C jets). This is done simply by only selecting label indices that are non Nan, and calculating the loss on these.