Bill would discourage disruptions at ports