Yes 'discuss' is transitive. Your use of 'discuss' in the revised sentence is good. However, we cannot refer to an adult person as 'it'. I would change your sentence as follows -
"When B discusses matters relating to their cooperation and coordination with "A", "B" invariably maintains that wasteful infrastructure duplications should be avoided."
I don't feel the original sentence's use of 'discuss' is wrong.
Interested in Language