Bihar DGP Gupteshwar Pandey resigns