Regulators are probing Comerica after a botched technology upgrade left the bank’s wealth-management unit short millions of dollars.