WELD-1729 Flush caches before ABD so that BeanManager.getBeans() works properly

Thanks @astefanutti !