Every now and then, then Gemara will go off on a tangent and discuss medical practices (such as towards the end of Gittin and scattered throughout maseches shabbos) or practical safety advice concerning demons or whatnot (such as in the last chapter of Pesachim).
Is studying those passages considered talmud Torah? If not, can someone just skip them and still make a siyum on the masechta (after all, he leaned what the amoraim had to say about the mishnayos)? If yes, why? Especially considering that we're not supposed to use cures from the Gemara? (see Otzar Hageonim Gittin 68b and just about every commentator since them)