corrected lower subarray partition for SELECT(O(n) worst case)