Unlike transactions in the mempool, there is no real benefit to holding onto proofs with missing UTXOs. Since we already enforce UTXO age on the order of weeks, it's reasonable to expect users generating proofs to have UTXOs with confirmations.
This patch modifies the orphan pool to only track proofs that will be valid in the future, but have immature UTXOs. This also simplifies the logic considerably, so there are fewer edge cases to consider, making the orphan pool much easier to reason about.
A simple eviction-by-score mechanism can now be adopted to limit the pool size since the score can no longer be spoofed by claiming missing UTXOs.