En federal domare har godkänt en plan för att släppa ut 45 000 liter radioaktivt vatten i Hudsonfloden.