mlxsw: spectrum: Fix incorrect reuse of MID entries