This is an extension to insert_module_instructions, but instead of just inserting from a module, it can insert a range or a vector of instructions.