Bug fixed in merge_inversion_count; all tests passing.

The problem is in handling duplicate entries in the list. It gets counted
extraneously.
Removed debugging prints.
This still looks like O(n^2).