Boeing's troubles with its newest airplane got worse after an emergency landing prompted Japan's two biggest airlines to ground all their 787s for safety checks.