a. We sent enough soldiers to the city to keep it from falling to the enemy.
What is the 'agent' of 'to keep' in (a)?
I think it could either be 'we' or 'soldiers'. If we had 'in order to keep...' it would clearly be 'we'.
At the end of the day, it doesn't make much difference. This is just a grammatical issue.