Changed "RemoveFirst" and "RemoveLast" methods.

Changed "RemoveFirst" and "RemoveLast" methods to detach removed node
from its "Next"/"Previous" sibling