Hi Jack,
I tested your example both with Pagella and Lucida OT: indeed typesetting with the latest LMTX, with Pagella the math italic « f » runs into the right bar of « |f| ».
However the result with mkiv is correct.
I am attaching the PDF output with LMTX.
Best regards: Otared