Strip whitespaces, preserving point.

Unconditionally strip whitespaces, but check if point's column has moved, and if so, restore it to the original column.