The government can avoid being ripped off in EU negotiations, but the best deal we can hope for is to be first among outsiders, says Guardian columnist Rafael Behr