fix `caseOf` when merging `undefined`s and `bottom`s