The district attorney’s office said Keion Freeman Jr. and Derrick Berry Jr., who were 17 and 15 at the time, pleaded guilty to a string of robberies.