Rajeev Ranjan resigns