Description
This method is counterintuitive in that:
- it compares the argument by reference, not by .equals
- it does a linear scan through all elements of the pq (it is costly)
This method is also used in one place within Lucene. Maybe we should just look at an alternative where it's currently used and drop remove without replacement?