Learning Instruction Scheduling Heuristics from Optimal Data