Supporters of the former prime minister and cricket star have won the most seats in the National Assembly despite opposition from the country's military establishment