Revert "Assert that connector needing layout is attached (#11698)"

This reverts commit cb7b02d4e50e91b9377410e79c3578587a900d94

The assert is not a good idea because it is triggered when a connector registers a dependency in its init method.

Merge: no

Change-Id: I1f5a99af8f0af7b3329a1a596073ba09e55e18dc