fix a bug in exporter, we forgot to copy type to the new node for index op
diff --git a/torch/csrc/jit/export.cpp b/torch/csrc/jit/export.cpp
index f336a00..7c9b8d8 100644
--- a/torch/csrc/jit/export.cpp
+++ b/torch/csrc/jit/export.cpp
@@ -266,6 +266,7 @@
                              ->insertBefore(py_node);
         auto first_select = py_node->uses()[0].user;
         first_select->replaceAllUsesWith(squeeze);
+        squeeze->setType(first_select->typeOption());
         for (auto use : py_node->uses())
           use.user->destroy();
         it.destroyCurrent();