Sunday’s elections left the ruling party with no obvious way of forming the parliamentary majority needed to govern.