Once Britain is out, the other 27 states will face a range of politically unpalatable choices