subset_folds takes a origami style folds list, and returns a list of folds applicable to a subset, by subsetting the training and validation index vectors
subset_folds(folds, subset)
an origami style folds list
an index vector to be used to subset the data