Enable removeiffirst and removeiflast classes for children in splitted elements

For markup such as 'ul > li' removeif* classes were not available for
children elements. This patch add remove() for removeif* elements
inside "split" class.