memory: extract flat_range_coalesced_io_{del,add}