If milk overflowed on the gas, it is enough to wipe the trivet and the stovetop with a rag, because the fire burns the absorbed milk, and one may then cook a meat food. As the Rema wrote, a trivet needs libun for Pesach. As the Mishnah Berurah wrote, that stringency is only lechatchila because of chametz.