Argentina agrees to $50 billion IMF loan