Use UniqueRefVector to simplify working with AST
<rdar://problem/101198284>
Pull request: https://github.com/WebKit/WebKit/pull/5412
Committed 255597@main (8b4319ba38ad): <https://commits.webkit.org/255597@main> Reviewed commits have been landed. Closing PR #5412 and removing active labels.