Fiat agrees to buy up rest of Chrysler