All of the solutions presented below will use this reformulation.
Note that the given graph is connected, since the total degree of any two vertices is at least 2018 and hence they are either adjacent or have at least one neighbour in common. Hence the given graph satisfies the following condition:
> Every connected component of G with at least three vertices is not complete and has a vertex of odd degree.
We will show that if a graph G satisfies condition (1) and has a vertex of degree at least 2, then there is a refriending on G that preserves condition (1). Since refriendings decrease the total number of edges of G, by using a sequence of such refriendings, we must reach a graph G with maximal degree at most 1, so we are done.

Pick a vertex A of degree at least 2 in a connected component G′ of G. Since no component of G with at least three vertices is complete we may assume that not all of the neighbours of A are adjacent to one another. (For example, pick a maximal complete subgraph K of G′. Some vertex A of K has a neighbour outside K, and this neighbour is not adjacent to every vertex of K by maximality.) Removing A from G splits G′ into smaller connected components G1,…,Gk (possibly with k=1), to each of which A is connected by at least one edge. We divide into several cases.
Case 1: k⩾2 and A is connected to some Gi by at least two edges.
Choose a vertex B of Gi adjacent to A, and a vertex C in another component Gj adjacent to A. The vertices B and C are not adjacent, and hence removing edges AB and AC and adding in edge BC does not disconnect G′. It is easy to see that this preserves the condition, since the refriending does not change the parity of the degrees of vertices.
Case 2: k⩾2 and A is connected to each Gi by exactly one edge.
Consider the induced subgraph on any Gi and the vertex A. The vertex A has degree 1 in this subgraph; since the number of odd-degree vertices of a graph is always even, we see that Gi has a vertex of odd degree (in G). Thus if we let B and C be any distinct neighbours of A, then removing edges AB and AC and adding in edge BC preserves the above condition: the refriending creates two new components, and if either of these components has at least three vertices, then it cannot be complete and must contain a vertex of odd degree (since each Gi does).
Case 3: k=1 and A is connected to G1 by at least three edges.
By assumption, A has two neighbours B and C which are not adjacent to one another. Removing edges AB and AC and adding in edge BC does not disconnect G′. We are then done as in Case 1.
Case 4: k=1 and A is connected to G1 by exactly two edges.
Let B and C be the two neighbours of A, which are not adjacent. Removing edges AB and AC and adding in edge BC results in two new components: one consisting of a single vertex; and the other containing a vertex of odd degree. We are done unless this second component would be a complete graph on at least 3 vertices. But in this case, G1 would be a complete graph minus the single edge BC, and hence has at least 4 vertices since G′ is not a 4-cycle. If we let D be a third vertex of G1, then removing edges BA and BD and adding in edge AD does not disconnect G′. We are then done as in Case 1.
