Fix obscure ICE in trans (#18514)

Don't ICE when translating a generic impl method from an extern crate that contains a match expression on a local variable lvalue where one of the match case bodies contains an expression that autoderefs through an overloaded generic deref impl and we neglect to monomorphize the result type of the deref method.

Closes #18514