Pakistan’s main opposition party called on Sunday for a judicial investigation into what it said was rigging at an election this week that it lost.