IHC quashes 25-year jail term