[WIP] Fix bug in {inc,set}_subtensor in advanced1 case

Reported by Stanislas Lauly