The Maricopa County Attorney’s Office has agreed to dismiss a lawsuit against Arizona after receiving assurances it can now carry out executions.