In the summer of 2019, more than a decade after Deborah Majoras joined the Procter & Gamble Co. as general counsel, the attorney made a move unusual both for herself and the legal profession: She took a nine-week sabbatical.