US stocks and peso recover earlier losses after month-long delay agreed between the two countries