Camilo Duran came off the bench to keep Celtic's Europa League hopes alive with a vital win against Torreense.