Squeezing more from a quantum nondemolition measurement