Bug 831349 - Reset Ion cache flags when flushed. r=dvander