A plea bargain has been reached in connection with the deadly shooting of Chicago police officer Krystal Rivera.