Optimized compact method by using a counter in place of Array.prototype.push()
Cleanup `_.compact` optimization.
Ensure _.xor() returns new unique array.
Cleanup `_.xor` patch and add a unit test.