commitlog: Flush all segments if we only have one.
commitlog: Flush all segments if we only have one.

Handle test cases with borked config so we don't deadlock
in cases where we only have one segment in a commitlog

scylladb/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla