Postgres Split Array Into Two Equal Sum Coding