fix #3435 fully (SetUnitNanoPieces expects SCRIPT piece-indices)