Rename blank nodes for equality check.