enterUnfinishedNodesBefore

Walk the tree back from a position, finding the innermost unfinished node (an error node) before the position.