Researchers are developing genetic tests, imaging tests, and algorithms like those in face-recognition software in an effort to reduce the 1 million US men a year who have prostate biopsies and, even more important, reduce the thousands who get treatment they don’t need.