Pakistans supreme court ok's Musharraf