CJI writes to PM for removal of HC judge