Trump backs down on vow to keep the US government partially closed until Democrats approve funds for a border wall.