Clean install macOS keeps restarting and returning to macOS Utilities
For the benefit of anyone having this issue in the future. The problem was the hard drive cable.  I've replaced it and now everything is working properly.