Man City boss Pellegrini says dropping Hart helped him regain form