Trim bounds in a BED file so that don't overflow the actual contig lengths