As they struggled to fill their ranks amid a backlash to the blue, some local police departments turned to an unorthodox source: illegal immigrants, including those in the Obama-era DACA program, who have been issued badges and guns and sent into communities.