Added CaseDef transformer to freshMatch macro.

This doe not work yet, we still need to adapt the code for the
transformed patterns of a partial function.