Convert recursive calls of reconcile accounts wizard into loop
The recursive calls may reach the Python recursion limit if there are a lot of accounts and parties to process. So converting the recursion into a loop prevent reaching this limit.
Closes #13164 (closed)