IANAL, but I believe that's only true if B was using it before A filed. The order described was "A files, B re-invents, A's patent is issued". It may have some weight in arguing that the invention was obvious, but my understanding is that this is harder than invalidating a patent based on prior art.