HC grants relief to 18 convicts