Semiclassical level spacings when regular and chaotic orbits coexist