function binaryRemove(array, value, opt_compareFn) {
  const index = binarySearch(array, value, opt_compareFn);
  return (index >= 0) ? removeAt(array, index) : false;
}
Removes a value from a sorted array.
@param {!IArrayLike<VALUE>} array The array to modify.
@param {VALUE} value The object to remove.
@param {function(VALUE, VALUE): number=} opt_compareFn Optional comparison
    function by which the array is ordered. Should take 2 arguments to
    compare, and return a negative number, zero, or a positive number
    depending on whether the first argument is less than, equal to, or
    greater than the second.
@return {boolean} True if an element was removed.
@template VALUE