Prime Minister Matteo Renzi had threatened to veto the European Union’s budget to force partners to take in a greater share of asylum seekers, but he was due to resign on Monday after losing a referendum on constitutional reform on Sunday by a landslide.