Brookfield and AIG resolve dispute over rate-swaps deals