Fix ICE generating drop glue for `Box<str>`

Closes issue #17734

r? @nick29581 
Could you check that a dtor on `str` is called in this test?