Move PHINodes from the entries of the replicated
parallel regions to the entry of the first of the chain.

Fixes a regression test case that broke with LLVM 3.5 due to
this exposed bug.