Do they have text attributes ?
Wild assed guess without seeing if there is a pre-built solution.
No attributes.
determine the last entity in the database. Get it's handle
Explode the block
collect the entities after the previous last
make a new block with those entities.
If there are attributes, you'll need to remember the tag:value pairs and reset them into the new block.
There MAY be a simpler solution.
I look forward to your dissertation regarding the process.
If editing the blockreferences fits your process perhaps the function
ConvertToStaticBlock(string newBlockName) does what you need.
Its a member of Autodesk.AutoCAD.DatabaseServices.BlockReference