The National Guard will be deployed to Los Angeles after protests in response to immigration raids extended into a second day.