A rare state funeral for Shinzo Abe, the former prime minister who was assassinated in July, has split Japan.