Remove old pending calls if not reused

When trying to make an outgoing call, remove all of the pending outgoing
calls from the iterator if we're not going to use them again.

Test: manual
Bug: 33842702
Change-Id: I414624172b74772fa9a75626e6675afead5b6ee4
diff --git a/src/com/android/server/telecom/CallsManager.java b/src/com/android/server/telecom/CallsManager.java
index f23aa41..5359859 100644
--- a/src/com/android/server/telecom/CallsManager.java
+++ b/src/com/android/server/telecom/CallsManager.java
@@ -799,6 +799,7 @@
                 reusedCall = pendingCall;
             } else {
                 Log.i(this, "Not reusing disconnected call %s", pendingCall);
+                callIter.remove();
                 pendingCall.disconnect();
             }
         }