The Bank of Japan finished selling millions of dollars of stocks it bought from besieged banks during a domestic banking crisis in the early 2000s and the later Lehman Shock, ending a nearly two decade process and bringing closer market attention to the fate of its much bigger pile of exchange-traded funds.