Dredge with an ejector