Fixed memory leak in ML module

`CvMLData::sample_idx` was not freed
Allocated during `CvMLData::set_train_test_split` call, line 636.