Ally Financial's multiyear restructuring initiative reduced headcount, streamlined operations and implemented new technology.