Palace confirms Pangilinan’s resignation