The resignation comes amid power tussle in Congress’s Punjab unit and at a time when Assembly elections are barely a few months away