Magnetic and quadrupole coupling emerging in NdB4 with geometrically frustrated orthogonal antiferromagnetic dimer