Isomonodromic deformations: confluence, reduction and quantization