Justice Muhammad Ali Mazhar takes oath