In a letter to the PM, Ms Ali said remaining in the role would be a ‘distraction’ from the work of the government