Similar Items: Well-definedness of Streams by Transformation and Termination