Magnetic anisotropy in the frustrated spin-chain compound β-TeVO4