Nikkei rebounds as pessimism eases about China-related firms