Regeneration of deteriorated absorbents or adsorbents