Rewrite blkindex.dat after compaction.

After removing the auxpow from the blkindex.dat database, rewrite the DB
file in order to remove "reserved" empty pages from it entirely.