Company is also reshaping parts of its merchant business and exiting non-core operations such as ATMs