ir_rc5: Don't throw exception upon invalid edge distances.