Japanese cabinet ministers visit controversial war shrine