Parramatta survive Bulldogs NRL comeback