String Diagram Rewrite Theory III: Confluence With and Without Frobenius