Australia must avoid post-Warne errors when Warner retires, says Bailey