Remove unreachable code.

The removed case (pcHead == script.end()) can never be reached, since we explicitly error out above if that is the case.  It is legacy from Namecoin's merge-mining, which does not forbid this case earlier.

This is #743 rebased onto 1.8.1-dev, as requested.