Kerala min Thomas Chandy resigns over encroachment charges