Evolution of the charge density wave state in the rare-earth tritellurides under uniaxial stress and disorder