Mexico seeks to finalize security deal with U.S. before tariff deadline