The veteran supporting actor also achieved fame as sardonic TV news writer Murray Slaughter on The Mary Tyler Moore Show