Move JavaRDDLike.coalesce into the right places.