Change AlgResourcePool to obey isReEntrant()
Related to #223 (closed) and prompted by ATR-25365
There are currently two ways to signal algorithm reentrancy: the isReEntrant() boolean flag, mostly unused, and setting cardinality to 0.
This MR changes AlgResourcePool to respect the isReEntrant() flag, rather than checking cardinality==0.