mrb: implement resolving index of accessor in expr on match by mruby