Praful Patel resigns