A group of New York’s most powerful philanthropies will spend millions to help make migrants more self-sufficient.