Japanese prime minister sends offering to controversial war shrine