Instanton Partition Function in the Nekrasov-Shatashvili Limit and Differential Equations