States told to invoke provisions under Section 479 of BNSS to facilitate release of such prisoners