Fix advanced incsubtensor when inc dim has non-flat shape.

This was reported by Alex Boulanger.