The evolutionary plasticity of chromosome metabolism allows adaptation to DNA replication stress