Top court slams judicial failures in recognising juvenility; orders immediate release after decades of wrongful imprisonment.