top_hits aggregation: Fail with a parse exception if `top_hits` agg is defined under a `nested` agg.

PR for #8668
Is it correct? What if there is a `reverse_nested` aggregation in-between? (ie. nested > reverse_nested > top_hits)