Many British lawyers were as surprised as their clients when U.K. Prime Minister Rishi Sunak called a July 4 general election, an earlier-than-expected vote that could alter the tax landscape with the first change of government in more than a decade.