[algorithms][disjoint] add missing include; replace for-loop by call
to check_iterator_range<...>::apply;