Fix ICE in `dereference.rs` fixes #9089 changelog: Fix ICE when dereferencing or borrowing on explicit returns from closures