Fix intermittent test-only sort order bug.

Lucy breaks ties by doc_id, but the test did not.  The bug only manifested
once every few hundred iterations because the collisions between scores
occurred rarely.
Increase randomness of HitQueue test.

Insert docs into HitQueue in random order to stress the heap sort, even
though they will be inserted in doc_id order in current Lucy.