Former Pakistan PM Khan says he ‘regrets’ comments on magistrate