SSP Harmohan resigns from service, to contest 2017 polls on SAD ticket