Legal action could stop, delay KCI terminal construction