Indiana prosecutor who emailed Walker suggesting fake attack has resigned