Fix used-def chain analysis

Loop didn't succeed because of copy not being deep enough
Improve empty set/dict support

* implement some missing methods for empty_set and empty_dict
* unskip some tests accordingly
Fix handling of Compare expressions

Previous implementation was incorrect, new implementation replaces
complex compare with a generated function call.
Fix bug in ndarray enumerate

Spotted thanks to the cython tutorial @scipy2013 :-)