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.