I think what's happening is that extruder 1 was mapped to motor 4 by default, and even though extruder 1 no longer exists the entry for it in the mapping table still exists. I guess I should have it return zero current for a non-existent extruder instead.