One of the police's top spymasters, Major-General Feroz Khan, has been given a lifeline in his fight to save his job.