fix: Filter unit types in a few more emissions (#1046)
fix: Filter unit types in a few more emissions (#1046)

There are a lot of different places that we need to filter Units out in
order to support them as type members, this commit catches a few more
cases that we missed:

- Lambda env captures
- Case matchers

Fixes issue #1044
eriksvedang/Carp,carp-lang/Carp,carp-lang/Carp,carp-lang/Carp,eriksvedang/Carp