Not just UK , and not just when marrying. If you could afford it, removing all your teeth before 30 was a great idea, since a rotting tooth and the subsequent infection would most likely kill you. So it just increased your chances.
Washing regularly also helps hygiene. As a bonus it doesn't
require cutting off a body part according to the suggestions of
a fairy tale.
Circumcision for hygiene is a bit like shaving your whole head
so you don't need to use shampoo(Edit: with the difference that
hair can actually grow back and doesn't have countless sensitive
nerve endings).