Cleanup trans for structs with base expr.

Fixes #15397.
Fixes #7261.
Fixes #6573.