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