Allow the node to run with history pruned.

To avoid stalling the downloads of other peers, we disconnect those
who ask us for a block we don't have anymore.
This needs to be chainActive.Height(), not mapBlockIndex.size() (which may include stale branches).