Pakistan restores 3 judges ousted by Musharraf