Flat Connections from Irregular Conformal Blocks