[PATCH 6.6 322/386] close_range(): fix the logics in descriptor table trimming