Filter invalid children from union operations.

MSP-9108
MSP-9277

Supersedes https://github.com/rapid7/metasploit-model/pull/8

Filter invalid children before adding them to
Metasploit::Model::Search::Operation:Union#children so that invalid
children won't stop the union from validating, which can cause
deprecated operators to fail.