Apparently, according to the EU materials (and specifically the first "Galaxy Guide" for the d6 SW RPG), R5-D4 actually deliberately faulted in order to keep the two droids together.

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.