Is there some way to automatically find and remove all the "broken referenced" in Apple's Photo App?
Buy PhotoSweeper. It can search photos in the library with many conditions, including referenced or missing:





After you remove these photos, they are added to the album named “Trash (PhotoSweeper)”.



ref: https://discussions.apple.com/thread/7993327