Vote proves Afghanistan has defeated terrorism: Karzai