add removeEmptyAdjacentAfter
DRY. abstract check logic. closes #1
1.1.0