Fixed deletion of index for KREW_RULE_TMPL_T