Fix JavaRDDLike.coalesce return type.