Identification of a quality-control factor that monitors failures during proteasome assembly