We've added the ability to "Apply All Retainers" at any time. Included in this is first applying available credits. This means that any matters with outstanding balance(s) AND available credits OR a retainer balance will be included when performing this action.
For more details see the updated "Apply Retainer" user guide.