Yvette Cooper and David Lammy were accused of attempting ‘to influence an independent inquiry’