Only rebuild node access for nodes affected by changes.
Make getNidsForAccessRebuild smarter, using a list of affected tids to locate the affected nodes without relying on taxonomy_index, which was rightly rejected as a correct solution from a previous patch.