Zimbabwe finalizing agreement to repay $1.8 billion in arrears