IR: Remove abstract class DefinedInstr
IR: Remove GetDefinedConstantOrMethod