Add bottle_unnecessary to DSL.

Closes #17710.