Strengthened legality checking in reshape().
Strengthened legality checking in reshape().

[suggested by Brad]

* Allow reshape() on rectangular domain arguments only.
This is a compile-time check.

* Verify that the "from" array and the "to" domain have
the same number of elements/indices, regardless of boundsChecking.
Brad feels that this is a quick operation, esp. compared
to the actual resizing, to it should be done always.


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

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