Gassmann’s anarchic 1769 opera-within-an-opera is well sung and played, and funny — up to a point