Run cleanup for base struct in functional struct update expressions

Fixes #17302.