I don't know if Romania entering the war when it did was that important for von Falkenhayn losing his post. As I understand it the failure of the Verdun campaign to break the French army and the huge German losses both there and on the Somme, possibly also coupled with the Brusilov offensive...