Sharad Pawar resigns