Hi!
The 2nd sentence is wrong. If you want to leave out "ehtiä", then it would be like this: "Pojat olivat juuri käyneet syömään". The meaning of this sentence and the 1st is the same. But adding "juuri ehtiä" gives the sentence a sence of hurrying, that they hardly even got seated before Suvi came in. You get a visual image of the boys just grasping their forks and knives and not quite beginning to eat, with "juuri ehtiä". The second sentence gives out a meaning that they maybe even got something in their mouths... But it is all nyances. If you leave out "juuri": "Pojat olivat ehtineet käydä syömään, kun Suvi tuli pyykkituvasta". This, on the other hand, gives an answer to a question: Did they or did they not start eating before Suvi came. It also conveys a little bit sadness: the situation was not positive here, they should not have started before her arrival, maybe. But this depends on the context of the story. - - Why, this is a very advanced question you are pondering!! "Pojat olivat juuri ehtineet käydä syömään, kun Suvi tuli pyykkituvasta" = "The boys had just managed to start eating, when Suvi came from laundry room/house." "The boys had barely made it to dinner table" "The boys had just about begun eating"