The U.K.'s referendum to leave the European Union was a costly decision in more ways than one.