Pumps with means for separating and evacuating the gaseous phase