Two months ago, when U.K. Prime Minister Theresa May called for snap general elections on June 8, she had many reasons to be optimistic: She was 21 points ahead in the polls, appeared to be best positioned to negotiate with the EU on Brexit, and the opposition Labour party was losing ground in its traditional strongholds. But as with any election, that...