
Fixed infinite loop bug in associative domains
and arrays revealed by Steve's puzzles/deitz/digits3.chpl
test.  Also fixed another bug demonstrated by that code.
I'm not removing the future because I'm not sure if the
output the test is generating is what's expected or not.
My fixes don't seem to break anything else, though, so
I'll check in and see what Steve thinks when he has time
to look.


git-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@10669 3a8e244f-b0f2-452b-bcba-4c88e055c3ca

hildeth/chapel,hildeth/chapel,CoryMcCartan/chapel,sungeunchoi/chapel,sungeunchoi/chapel,chizarlicious/chapel,hildeth/chapel,sungeunchoi/chapel,sungeunchoi/chapel,sungeunchoi/chapel,hildeth/chapel,chizarlicious/chapel,CoryMcCartan/chapel,sungeunchoi/chapel,chizarlicious/chapel,CoryMcCartan/chapel,sungeunchoi/chapel,hildeth/chapel,CoryMcCartan/chapel,hildeth/chapel,CoryMcCartan/chapel,chizarlicious/chapel,CoryMcCartan/chapel,chizarlicious/chapel,chizarlicious/chapel,CoryMcCartan/chapel,sungeunchoi/chapel,chizarlicious/chapel,hildeth/chapel