Parser stripped minus of negative numbers with unknown units (#12811)

Change-Id: I8964b1732f867cb3c5aa5859d12e94a5978adece