semantic: Remove unneeded with statement type lookup.

This was for Switch cases, but those withs are now added.