NRL admits crucial ref error in Manly loss