SortedSet#take/#drop return subclass instances when called on a subclass

Thanks to Dov Murik for noticing this bug.