The victory of the Union Solidarity and Development Party, led by former generals, was widely expected after the vote excluded major opposition parties and sharply restricted dissent.