Fix a bug with region-parameterized enums etc where trans considered

them to be non-monomorphic.  Merely having lifetime parameters
is not enough to qualify for that status.  Fixes #5243.

r?