Critics have denounced the vote as a sham that will be used to entrench the military government's power.