Add circomp#set_index().