BRICS says it has reached a "very good agreement" to settle international trade