Text this: Transition of a small-bipolaron gas to a Frohlich polaron in a deformable lattice