Law ministry writes to PM for reforms in criminal law