HP board survives confidence vote, but only barely