Pakistan police released in exchange for extremists