array io: fix the logic to reuse deleted records
array io: fix the logic to reuse deleted records

We need different logic for the array that have enough value space and
not.

kenhys/groonga,kenhys/groonga,komainu8/groonga,kenhys/groonga,groonga/groonga,komainu8/groonga,groonga/groonga,kenhys/groonga,groonga/groonga,groonga/groonga,groonga/groonga,komainu8/groonga,komainu8/groonga,kenhys/groonga,komainu8/groonga,groonga/groonga,groonga/groonga,kenhys/groonga,komainu8/groonga,groonga/groonga,komainu8/groonga,kenhys/groonga,komainu8/groonga,kenhys/groonga