Typhoon Bebinca slams Shanghai, displacing over 400,000 residents