The indictment underscores Justice Department efforts to hold corrections staff accountable for alleged violations of inmates’ constitutional rights.