Japan says economy 'almost stopped worsening', raising view for first time since 2018