priority queue remove operation