Critical behavior of P-6 Functions from the Isomonodromy Deformations Approach