remove `assert expr` if expr is used in next line