How can deprivation become joy? That’s not only the animating question of The Color Purple, the 1982 Alice Walker novel made into a musical in 2005, but also the operating principle behind John Doyle’s triumphant revival of that musical, starring the stupendous Cynthia Erivo in her Broadway debut.