Show: Activate literal rewrite rules in simplifier phase 1
Show: Activate literal rewrite rules in simplifier phase 1

When rewriting in a rule, GHC pretends that it is in the phase given by
the activation phase of the rule (see Note [Simplifying inside stable
unfoldings] in `SimplUtils` for rationale). This means that while
rewriting the text literal rules, the simplifier is effectively in phase
2 due to 86ddf8a9dd29d9548bec2e253f1793dc5f346a05.

As it turns out, the `build` rule provided by `base` is also active in
phase 2, meaning it still competes with the literal rules (as 7.10.2
uses it to rewrite the LHS). For this reason, the previous change did
not resolve the performance issue in 7.10.2; something I did not
previously catch due to a rather silly issue in my test envirionment.

This issue is now properly resolved by activating the literal rewrite
rules only in phase 1, by which point the `build` rule is inactive. See
comments 22 through 25 in GHC Trac #10528 for details.

alexliew/text,aloiscochard/text,text-utf8/text,hvr/text,spencerjanssen/text,text-utf8/text,aloiscochard/text,beni55/text,bgamari/text,bos/text,hvr/text,beni55/text,beni55/text,spencerjanssen/text,alexliew/text,aloiscochard/text,bos/text,bos/text,alexliew/text,bgamari/text,aloiscochard/text,hvr/text,text-utf8/text,bgamari/text,bgamari/text,bos/text,spencerjanssen/text,beni55/text,hvr/text,spencerjanssen/text,alexliew/text,text-utf8/text