Replace InlineEntityFormTestBase::waitForElementRemoved with $assert_session->waitForElementRemoved
(cherry picked from commit 91be227641f187aa90e107257fd64d293bb562ac)
Closes #3183937
(cherry picked from commit 91be227641f187aa90e107257fd64d293bb562ac)
Closes #3183937