He had an acclaimed Broadway career in musicals and comedies, but moviegoers knew him mostly as the self-assured, easygoing friend of Mr. Allen’s insecure heroes. Tony Roberts in New York in 2009.