Armenia's war defeat prompts bitter vote on rebuilding country