This reverts commit 7829c330. The assertion is triggering on some internal code. A reduced test case is in progress.