Israel's Prime Minister Benjamin Netanyahu has cancelled a deal with United Nations to relocate African asylum seekers living in the country, a day after reaching an agreement.