repo: use rugged_rb_ary_to_strarray in reset_path

Simplify Repository#reset_path by using rugged_rb_ary_to_strarray for parsing the pathspecs from ruby.