Give clear error message when attempting to merge struct which can't be merged.
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19804
Differential Revision: D15098833
fbshipit-source-id: 2950e247c74e125e033cd9cfbf5631eee5298ea0