Rails 4.2 Remove redundant substitute index when constructing bind values

refer https://github.com/rails/rails/pull/17463