The issue of a "hard border" is controversial, but could be required if the U.K. quits both the EU's single market and customs union.