Labor claims victory in Ripon, but remains wary of recount