Revert "SOC-4219: Add local variable for tilde index and update last testcase"

This reverts commit e00cd31f4b534a8e5e33de71d7a276b9b927b36d.