This updates the mempool ProcessOrphans method to accept agenda flags rather than just a boolean indicating if the treasury is active. This allows for accommodating future agendas without having to add additional boolean fields for each agenda.