Solar-eclipse prayer is a public act of congregation, so its leadership is assigned to the recognized leader of Friday prayer.
The clause “if the imam is absent” sets a limit on that congregational arrangement while leaving individual performance available.