Orbital degeneracy as a source of frustration in LiNiO2