Cut off mrb_irep_free from mrb_close; based on a patch from @matsumoto-r; close #951