Labour with a small majority could mean the minority of socialists holding the balance of power.
it would need to be a very narrow majority for this to happen. at best, there will be half a dozen greens/ socialists elected outside of labour- and allowing for the half a dozen- maybe- marxist labour MPs left that is not many
And whether Labour would submit to a socialist platform in order to remain in power is another question altogether