Gujarat CM Vijay Rupani resigns