Check if two lists of statements are related by variable renaming.
(statement-list-renamevar old new ren) → new-ren
The two lists must have the same length, and have corresponding elements related by the renaming. The renaming list is updated and threaded through the statements.