Recovery of contaminated inert gases