Intermediate commit: produce Singleton trait as output of the Union All.  Add cleanup() for the UnionAllRecordBatch.