Clean up after UNiON process

Hello,

How can I clean up the model after a union process? Look the following image. There are no separated pieces in this model. I did a union of all pieces, but there are those junk lines in the intersections. How can I get rid of them?

The delete tool should do the job if it is possible to remove the edges.