Mexico nears deal with U.S. for direct deportations