The remaining votes to be counted are not expected to change the outcome, paving the way for weeks of negotiations to form a coalition government and for a prime minister to be chosen.