Nonsingular solutions and instabilities in Einstein-scalar-Gauss-Bonnet cosmology