The UK’s chief negotiator David Frost is advising the prime minister against walking away from the talks