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 (I think I closed the issue at some point?)