Killing processes did not work for me. I suspect that this was serendipitous rather than causal. I had a similar experience that I briefly thought was a solution. Originally, it was scanning fine. I clicked on the "View People Album" button and started using it, including the "confirm additional photos" function. After that is when I discovered that scanning had stalled at about 10,000 scanned with about 26,000 left to go. Suspecting that my use of the "confirm" function had somehow fouled things up, I made a copy of the the Photos database for safety and used Time Capsule to restore yesterday's version of the Photos database, before I had used the "confirm" function. (Restoring was a nightmare of it's own, but never mind.) I had it "keep both" copies when I restored, so now I had 3 versions of the database: A = the active DB at the time I started all this, B = the copy that I made manually with the finder, and C = the version restored with Time Capsule. Then I switched the database in Photos. (Photos > Preferences > General > Library location) After switching back and forth between the three a few times, I noticed that it had started scanning again. So I thought I had confirmed my theory about using the "confirm" function. I let it keep scanning. Later I realized that it was scanning the A database -- the active one when the problem started -- so my theory could not be correct. Over the next few hours, it got up to 13,570. Then it stalled again. I tried all sorts of things, switching the database, rebooting in safe mode so that no startup items could interfere, running disk utility, resetting the PRAM. Nothing worked. I've noticed other little glitchy things with Sierra too. Sometimes the startup is incredibly slow, sometimes it can't find my external monitor but sometimes it can, etc. I suspect we just need to wait for an update to the OS. I read that one is already in the works.
I just checked and I see that Photos is scanning again. It went up to 13,578 while I was typing this. Wow! +8! At that rate, if I leave my computer on 24/7 and don't let it sleep, it should be all done by Thanksgiving!