New York Community unveils investment plan tied to Flagstar deal