agent: Remove unneeded branch in `use_pending_tools` (#27922)

This PR removes an unneeded `else if` branch that was the same as the
previous branch in the conditional.

Doesn't seem necessary to run this twice.

Release Notes:

- N/A
d82bf132caMarshall Bowers committed on 4/2/2025, 2:50:24 PM· committed by GitHubparent0f58d4f
1 file changedLine totals unavailable