Barrington Stage Company presents an uneven production of the near-perfect Sheldon Harnick-Jerry Bock musical.