Arrangements for separating materials produced by the well in the well {by reinjecting the separated materials into an earth formation in the same well}