Thank you very much, Carl! Of course, I've just misused the term «slur».
Anyway, as you wrote, there is «still a collision between the tie and a couple of stems». I was trying to find some advice in Lilypond manual, and as far as I know there is a whiteout property for such cases, but I don't know how to use it for stems. Probably you can give an example?