Improve code generation for [array set] in a common case.