Pakistan’s official election results were announced by the election commission on Sunday, with independent candidates affiliated with former prime minister Imran Khan winning the most seats in parliamentary elections, delivering a strong rebuke to the country’s powerful generals and throwing the political system into chaos.