Hi, I have the same problem. I have installed a few days ago a fresh Debian Stretch System to my new HDD and I use some more partitions.
I have /, /home, /tmp, /var and swap on separate partitions, so Debian is recomming it on there german Install Manual. So, everytime at shutdown, the message shows: FAILED to unmount /var All other partitions are going unmounted correctley. Here will be said it is harmless and a cosmetic issue, but I hope we can fix it please? Maybe a Debian developer can see at this problem and can do a fix to a security update to the freeze of stretch? Thanks a lot to you. Friendly regards