A Pakistani court overturned former Prime Minister Imran Khan's conviction for illegal marriage on Saturday, his party said.