MRG make minibatch k-means use mini-batches in prediction

Fixes #2627.
Do you think I should benchmark this?
I would imagine it is a bit slower, but I ran into the issue before (just digging up the issue).