[SPARK-3974] Made partitioner a variable inside BlockMatrix instead of a constructor variable