Check if two blocks are related by function renaming.
(block-renamefun old new ren) → _
First, we extend the function renaming according to the functions defined in the two blocks. Then we process the list of statements.