Pakistani parliament passes bill to limit top judge's powers