PM undergoes successful heart surgery