Apparatus for removing ash, clinker, or slag from ash-pits