generate empty IRSBs when num_instructions is 0, instead of returning NULL and crashing everything