Pakistan foils plot to target Prime Minister Sharif