LONDON — The race to become Britain’s next prime minister took a dramatic, unexpected turn Thursday as former London Mayor Boris Johnson — popular with the public and widely considered to be a front-runner — ruled himself out of contention after the defection of a key ally. In a morning of political machinations and high-stakes