If any ads are present below my answer or words underlined/colored, I do not condone/support/use the product or services listed/linked to, they are there without my consent.
17,000 dryer fires a year, when did you last clean the inside of the dryer near motor or the exhaust ducting?
I also have ducts running in some of the rim joists. I used fiberglass in those. The rest I used XPS.
The XPS that I am using have tongue/groove. I don't find them particularly useful as they don't always line up. Probably it is because my basement has concrete blocks and they are not perfectly flat. I am using tape on the joints anyway.
Check if your town requires fire blocking. If so, I would suggest doing that first after you seal all the rim joists.