Embattled Indian crypto exchange WazirX has secured court approval for its long-awaited restructuring plan.