Fix various loop indices in dimensional splitting