No longer needed since 231b5d96bb tracks dirty state of legacy matrix stacks. Part of T49450
231b5d96bb