Two money-making education apps that are part of the troubled Byju’s software empire were wrongly transferred away from US lenders and must be returned to a court-supervised bankruptcy trustee, a federal judge ruled Tuesday.