John F. Kerry visits Iraq as violence spreads