On the 737NG there is a fitting in the entrance to each main wheel well that, when disturbed by a shredded tyre trying to pass, will shut off retract hydraulic pressure to that gear (only), and that gear will free fall back to the extended position.
And there it will remain until the fitting is replaced on the ground.
Its purpose is to protect all the componentary within the main wheel well area.
Cheers