You need to render the Z-depth without anti-aliasing. Unfortunately that doesn't appear to work in Corona. I'll bug it.
edit:
If you enable the Dev/Debug UI, you can turn off anti-aliasing completely by unchecking "Do Antialiasing." Do this, and render a single pass in progressive mode, and you get a nice and clean Z-Depth.