Fix missing case in PartialEval.hs

Fixes #1664. We may need to think more carefully about how to build
partially evaluated definitions better later, but this is a safe
solution for the moment.
Merge pull request #1677 from edwinb/pe-error

Fix missing case in PartialEval.hs