Lower court judge resigns following ‘humiliation’ at the hands of CJP