shachain: remove unnecessary shachain_index_t