If, when we compare two versions of a story, the second known to be a retelling of the first, and find that the second has more of a miraculous element, we may reasonably conclude we have legendary (or midrashic or whatever) embellishment. The tale has grown in the telling. This sort of comparison is common in extrabiblical research and no one holds that it cannot properly indicate legend formation there.