[PATCH 5.15 546/691] close_range(): fix the logics in descriptor table trimming