dump: fix a bug that most index options are missed in Ruby syntax dump

Here are missed index options:

  * :with_section
  * :with_weight
  * :with_position