[hack] v0.4.5 - Add a tie breaking component to state comparisons
[hack] v0.4.5 - Add a tie breaking component to state comparisons

Summary:
This solves the problem where a statement can have two equal cost, equal overflow solutions. Previously, the solution returned was implementation dependent. This tie breaking component means that each solution is only exactly equal to itself.

It also means that we prefer line breaks later in a chunk group rather than earlier, assuming two equal cost solutions.

Conveniently, this causes no changes to our test cases since the implementation already implicitly ordered things in this way.

Differential Revision: D4485676

fbshipit-source-id: d5c8fed9af54e708c15b62f56f4280492e46cc0d

samwgoldman/flow,gabelevi/flow,mroch/flow,AgentME/flow,nmote/flow,gabelevi/flow,fletcherw/flow,gabro/flow,TiddoLangerak/flow,JonathanUsername/flow,mroch/flow,MichaelDeBoey/flow,JonathanUsername/flow,claudiopro/flow,popham/flow,fletcherw/flow,nmote/flow,TiddoLangerak/flow,samwgoldman/flow,AgentME/flow,nmote/flow,nmote/flow,ylu1317/flow,fletcherw/flow,jamesgpearce/flow,jamesgpearce/flow,gabelevi/flow,mroch/flow,ylu1317/flow,nmote/flow,facebook/flow,MichaelDeBoey/flow,samwgoldman/flow,JonathanUsername/flow,jamesgpearce/flow,claudiopro/flow,jamesgpearce/flow,claudiopro/flow,gabelevi/flow,facebook/flow,JonathanUsername/flow,facebook/flow,mroch/flow,jamesgpearce/flow,ylu1317/flow,gabelevi/flow,MichaelDeBoey/flow,gabro/flow,JonathanUsername/flow,popham/flow,mroch/flow,samwgoldman/flow,MichaelDeBoey/flow,gabelevi/flow,jamesgpearce/flow,facebook/flow,MichaelDeBoey/flow,samwgoldman/flow,nmote/flow,gabro/flow,claudiopro/flow,AgentME/flow,fletcherw/flow,TiddoLangerak/flow,TiddoLangerak/flow,popham/flow,ylu1317/flow,popham/flow,popham/flow,popham/flow,JonathanUsername/flow,popham/flow,AgentME/flow,fletcherw/flow,AgentME/flow,gabro/flow,ylu1317/flow,samwgoldman/flow,gabro/flow,mroch/flow,mroch/flow,JonathanUsername/flow,gabelevi/flow,samwgoldman/flow,facebook/flow,jamesgpearce/flow,claudiopro/flow,nmote/flow,gabro/flow,TiddoLangerak/flow,facebook/flow,facebook/flow,fletcherw/flow