Death sentence for 38 convicts upheld by HC