Joan Kennedy, former wife of Sen. Edward M. Kennedy, passed away, leaving behind a complex legacy of resilience, advocacy, and…