Will write to PM and CJI seeking an inquiry into the matter, says YSRCP chief Jagan Mohan Reddy