[hack] Format: Use space more effectively
[hack] Format: Use space more effectively

Summary: The old code was deducting -1 from the right margin each time
we called stmt_list, ostensibly to account for the trailing semicolons.
However, this isn't correct since nested statements do not double up on
their semicolons. This commit fixes it.

We also take into account the trailing `) {` in an `(if|for|while) (...)
{` statement, which we were not doing before. This became more obvious
once the aforemention bug got fixed, as it meant that the right margin
was actually set at 80 instead of 78 in method bodies.

This also revealed that we were handling tuple() differently from
shape() and array(). This has been fixed.

Reviewed By: @jwatzman

Differential Revision: D2144434

chenglou/flow,AgentME/flow,paulshen/flow,asivitz/flow,popham/flow,Jericho25/flow,ForbesLindesay/flow,dv/flow,darioajr/flow,AprilArcus/flow,davidmason/flow,ianobermiller/flow,dv/flow,ForbesLindesay/flow,JohnyDays/flow,facebook/flow,mroch/flow,matklad/flow,jamesgpearce/flow,graue/flow,nmote/flow,AprilArcus/flow,popham/flow,lyip1992/flow,mcanthony/flow-type,TiddoLangerak/flow,popham/flow,mcanthony/flow-type,shiftcars/flow,JohnyDays/flow,ForbesLindesay/flow,Fresheyeball/flow,jeffutter/flow,Wanderfalke/flow,davidmason/flow,CJstar/flow,siddhartharay007/flow,JeckoHeroOrg/flow,YelaSeamless/flow,YelaSeamless/flow,jeffmo/flow,CJstar/flow,Jericho25/flow,Wanderfalke/flow,MichaelDeBoey/flow,TiddoLangerak/flow,jamesgpearce/flow,fletcherw/flow,Drooids/flow,Drooids/flow,graue/flow,rafaelstz/flow,CJstar/flow,JonathanUsername/flow,nmote/flow,danvk/flow,claudiopro/flow,YelaSeamless/flow,gabelevi/flow,JonathanUsername/flow,shiftcars/flow,mroch/flow,paulshen/flow,siddhartharay007/flow,matklad/flow,samwgoldman/flow,Wanderfalke/flow,mcanthony/flow-type,gabro/flow,mcanthony/flow-type,d14b3l/flow,mroch/flow,JeckoHeroOrg/flow,paulshen/flow,chenglou/flow,KevinTCoughlin/flow,JonathanUsername/flow,TiddoLangerak/flow,OCamlPro/flow,jamesgpearce/flow,JeckoHeroOrg/flow,mroch/flow,cesarandreu/flow,claudiopro/flow,jgrund/flow,jeffutter/flow,jgrund/flow,Eyyub/flow,mroch/flow,facebook/flow,davidmason/flow,JonathanUsername/flow,samwgoldman/flow,YelaSeamless/flow,TiddoLangerak/flow,asivitz/flow,asivitz/flow,JeckoHeroOrg/flow,matklad/flow,jeffmo/flow,fletcherw/flow,d14b3l/flow,rafaelstz/flow,Drooids/flow,jdelStrother/flow,shiftcars/flow,fletcherw/flow,popham/flow,AgentME/flow,AprilArcus/flow,jeffmo/flow,gabro/flow,ylu1317/flow,samwgoldman/flow,Drooids/flow,cesarandreu/flow,ForbesLindesay/flow,JonathanUsername/flow,shiftcars/flow,chenglou/flow,AgentME/flow,graue/flow,fletcherw/flow,jeffmo/flow,Eyyub/flow,samwgoldman/flow,OCamlPro/flow,jgrund/flow,jgrund/flow,lyip1992/flow,asivitz/flow,facebook/flow,JohnyDays/flow,cesarandreu/flow,matklad/flow,facebook/flow,facebook/flow,shiftcars/flow,jamesgpearce/flow,TiddoLangerak/flow,nmote/flow,jeffutter/flow,samwgoldman/flow,nmote/flow,facebook/flow,ylu1317/flow,gabelevi/flow,MichaelDeBoey/flow,jamesgpearce/flow,fletcherw/flow,nmote/flow,cesarandreu/flow,gabelevi/flow,siddhartharay007/flow,MichaelDeBoey/flow,claudiopro/flow,AprilArcus/flow,JonathanUsername/flow,mroch/flow,graue/flow,jdelStrother/flow,Fresheyeball/flow,AgentME/flow,shiftcars/flow,jamesgpearce/flow,Fresheyeball/flow,paulshen/flow,jgrund/flow,danvk/flow,KevinTCoughlin/flow,davidmason/flow,KevinTCoughlin/flow,JeckoHeroOrg/flow,jdelStrother/flow,d14b3l/flow,d14b3l/flow,ylu1317/flow,chenglou/flow,dv/flow,lyip1992/flow,gabro/flow,rafaelstz/flow,popham/flow,JohnyDays/flow,davidmason/flow,ianobermiller/flow,claudiopro/flow,gabelevi/flow,darioajr/flow,Eyyub/flow,AprilArcus/flow,OCamlPro/flow,jeffmo/flow,danvk/flow,jeffutter/flow,MichaelDeBoey/flow,fletcherw/flow,gabro/flow,matklad/flow,lyip1992/flow,ForbesLindesay/flow,Eyyub/flow,d14b3l/flow,jdelStrother/flow,jdelStrother/flow,nmote/flow,popham/flow,OCamlPro/flow,ylu1317/flow,siddhartharay007/flow,samwgoldman/flow,ForbesLindesay/flow,Wanderfalke/flow,KevinTCoughlin/flow,dv/flow,rafaelstz/flow,gabelevi/flow,graue/flow,YelaSeamless/flow,chenglou/flow,Jericho25/flow,jdelStrother/flow,rafaelstz/flow,popham/flow,Fresheyeball/flow,ianobermiller/flow,MichaelDeBoey/flow,AgentME/flow,chenglou/flow,AprilArcus/flow,claudiopro/flow,JonathanUsername/flow,jgrund/flow,CJstar/flow,d14b3l/flow,nmote/flow,gabro/flow,mroch/flow,ianobermiller/flow,jamesgpearce/flow,graue/flow,darioajr/flow,jeffmo/flow,danvk/flow,facebook/flow,gabelevi/flow,darioajr/flow,samwgoldman/flow,gabelevi/flow,gabro/flow,ylu1317/flow