Indeed, when this feature was added I intended to add negative expand, but it turned out to be more complicated than I thought. The problem is mostly that the line can span multiple cells, and currently lines are broken down to each cell they span, so we'd need to reduce the line across cell boundaries. This will probably be done at some point, but will take a while. Thanks for the request!
Negative line expansion does not work across cells:
More context: https://github.com/PgBiel/typst-tablex/issues/74#issuecomment-1815590377: