<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def squeeze(self):
 """Remove the degenerate dimensions. Note that no changes are made in-place. Returns ------- squeezed : `IntervalProd` Squeezed set. Examples -------- IntervalProd([-1., 2.], [-0.5, 3. ]) IntervalProd(-1.0, -0.5) IntervalProd([], []) """

        b_new = self.min_pt[self.nondegen_byaxis]
        e_new = self.max_pt[self.nondegen_byaxis]
        return IntervalProd(b_new, e_new)