Refactor helper functions in IRTypeChecker test
Refactor helper functions in IRTypeChecker test

Summary: Moved helper functions to top.

Differential Revision: D28757863

fbshipit-source-id: fc0985e2ca213252ea5400cfd7a8d2d8f319d24e

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex