Typescript Split Array Into Two Based On Condition