Japan’s agriculture minister says he has submitted his resignation over an inappropriate remark about buying rice that angered the public