Japanese carrier “K” Line narrowed its losses in its April-June first quarter and said it expects rising rates and cost