Bharathiraja resigns