Lyapunov analysis and stabilization to the rest state for solutions to the 1D-barotropic compressible Navier–Stokes equations