Postgres Remove Last N Characters