Layer swap does not move length tuning stubs to new layer.

Description

When using the swap layers dialog tuning stubs stay on the old layer.

Steps to reproduce

On a multilayer PCB design. 1.On an interior layer run a trace then use the length tuning tool to put a length tuning segment in the trace. 2.Use the edit -> swap layers dialog to move that layer to a differnt layer.

3)The tuning stubs stay on the old layer.

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 10.0.5, release build

Libraries:
	wxWidgets 3.3.2 
	FreeType 2.13.3
	HarfBuzz 12.3.0
	FontConfig 2.17.1
	libcurl/8.18.0 Schannel zlib/1.3.1

Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: NVIDIA Corporation, NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2, 4.6.0 NVIDIA 596.21

Build Info:
	Date: Jul 21 2026 21:37:42
	wxWidgets: 3.3.2 (wchar_t,STL containers)
	Boost: 1.90.0
	OCC: 7.9.2
	Curl: 8.18.0
	ngspice: 46
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF

Locale: 
	Lang: en_US
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)