NRL overturn sacking of ex-Bulldogs duo