FIX don't use old scoring API in randomized search

Removed score_func and loss_func, which were deprecated the moment
they were introduced.