Immigration and health care were at the top of the agenda as the first 10 Democratic presidential candidates debated in Miami.