Biden, other leaders reach deal on migration pact at summit