U.S.-flag ocean carriers hit an uncharted reef in the transportation spending bill Congress approved and the president signed this month.