Allow nonconst indexing of arrays where we can work out an implicit size

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
foo
fix for ilia
route IsPatch from prog to vue map
fix tess vue map computation