I've had this happen several times. It happens when a space monster destroys the commander ship. This causes a new space monster infant to appear. For some reason, probably a bug, the commander gets transferred to the infant, and they both appear in the list of commander ships.
You can still interact with the commander.

In your case I was able to gift the commander a harmony crystal. I think that would be a stupid thing to do, but it can be done. Even better, I was able to fire the commander, who then appeared back in the unassigned leaders pool.

The leaderless infant vanished completely.
You can do all of this if you want to.