Fix retainAll bug

This supersedes #379, fixing the `RemovableLongSortedArraySet#retainAll()` implementation to address both the original issue and the remaining issue with `Long.MAX_LONG`.