Glaxo to pay $229 million to settle Avandia suits with eight states