Maybe better have a "fresh" aircraft going outbound, the broken aircraft and crew at home, to avoid a fortune on costs due to EC261/2004 for the heavily delayed inbound return. Since the outbound issue happened after departure, the only EC261/2004 costs would be a limited amount of "passenger care", largely in their home country (just send them home) and as such also having far less visa issues to deal with.