Chicago gun sale ban unconstitutional, judge rules