The Japanese were well within their rights not to declare war on the Soviets since it didn't violate the terms of the Tripartite Pact.
The conditions for military assistance laid out in the Pact was in article 3 which states:
ARTICLE 3. Japan, Germany, and Italy agree to cooperate in their efforts on aforesaid lines. They further undertake to assist one another with all political, economic and military means if one of the Contracting Powers is attacked by a Power at present not involved in the European War or in the Japanese-Chinese conflict.
So Japan only was bound to assist if a currently uninvolved country attacked Germany, not if Germany attacked them. Germany could have done the same with the Japanese attack on the United States which would have put Roosevelt in a real bind since even he knew that he would not be able to call on Congress to declare war on Germany even after the initiation of war by Japan. This is the reason he only called for a declaration of war on Japan in his famous speech. Hitler took care of the rest for him.