This is interesting. Hopefully someone can come by and tell us what the infinitive is. Searching a bit, I find the verb "боліти", but its third person singular conjugation is "боліє". However, Ukrainian Wiktionary also has articles for seemingly fixed expressions involving "болить," e.g. "сердце болить".