Legendary actor from the “Mary Tyler Moore Show” and “Rhoda,”