Exchange-mediated pairing among correlated electrons: Fluctuating-valence limit