Japan PM announces resignation amid sinking public confidence