That's because the size of a typeface goes from above the top of the ascender to below the bottom of the descender. By matching the baseline of the letter to the grid, when measuring you are omitting the distance between ascenders and descenders.
In other words, if you want to obtain a separation distance between paragraphs that is a multiple of 8, you must make the body of the letter coincide with the grid, not the baseline: