4 ex-COs charged with beating inmates