[SPARK-3974] Removed SubMatrixInfo and added constructor without partitioner