Departure comes after months of turmoil in Pam Bondi’s Department of Justice