public void replaceReferences(Address originAddress, int operandIndex) {
		CodeUnit fromCu = originListing.getCodeUnitAt(originAddress);
		replaceReferences(fromCu, operandIndex);
	}
<CODE>replaceReferences</CODE> replaces all references in
program1 for the specified address and operand index with those in program2.
If an equivalent reference already exists then it is updated to match the
new reference.
<br> Note: All reference types (memory, stack, external) get replaced
where possible. i.e. If a function or variable doesn't exist for a
variable reference then it will not be able to replace the reference.

@param originAddress the "from" address where references are to be replaced
@param operandIndex the operand of the code unit at the address where
references are to be replaced.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramMerge.java