fn compile_instructions(
    ixs: &[Instruction],
    keys: &[Pubkey]
) -> Vec<CompiledInstruction>