The NRL’s top referee Ashley Klein lost hundreds of thousands of dollars betting on horse racing but was allowed to keep officiating in the sport’s biggest games.