Process for gas purification mixtures containing mercaptans and other acid gases