Kerala minister quits over charges of domestic violence