Fix _apply_holdout

This function wasn't properly working. For example: when using random_splice, both splits had size of train set. Also, if train size < valid size, valid size was the same size of train size.