Pakistan's new parliament elected Shehbaz Sharif as prime minister for a second term on Sunday, following delays due to uncertain national elections.