The lenders said they are discussing an all-share merger that would create the country’s third-largest bank by assets