While the court’s decision has been celebrated by Sharif’s ruling Pakistan Muslim League as a victory, legal experts and analysts say the extended investigation undermines his authority as he heads into an election due next year.