The Lillian Goldman Law Library at Yale University used to allow stressed-out students to borrow a therapy dog, a border terrier mix, for 30 minutes of companionship.