Eggs don't feel pain, live chicks do. For some people that is very important, it might not be for you but its a very clear difference.
If the machine is working correctly, I'm not sure the chicks have time to process pain, we are close to the limits of what a nervous system is capable of.
Perhaps we can rationalize that they “don’t know what is going on” but it seems unlikely that they are having a good time.
In general baby warm blooded animals want to be near their mothers.
Better to cull pre hatch.
Better still to just eat lentils.
As for culling pre-hatch, I agree with the idea. Not only it is a win for animal welfare, but I believe it may end up being cheaper and more efficient for the farm.