Sam Pithroda resigns