NEW YORK (Reuters) - Citigroup agreed to pay $7 billion to resolve a U.S. government investigation into shoddy mortgage-backed securities the bank sold in the run-up to the 2008 financial crisis in a settlement set to be announced on Monday, sources said.