Interns all String literals in a JsProgram. Each unique String will be
assigned to a variable in the program's main block and instances of a
JsStringLiteral replaced with a JsNameRef. This optimization is complete in a
single pass, although it may be performed multiple times without duplicating
the intern pool.