Original: Immediately after the withdrawal of the troops, the Hindustanis and Madda Khel broke their agreement with the British Government by permitting the return of Hashim Ali.
Simplified: As soon as the troops left, the Hindustanis and Madda Khel broke their agreement with the British Government by letting Hashim Ali return.