David Lammy, Steve Reed and Peter Kyle are no longer in government as the new prime minister looks to form his cabinet.