Fix bug where integers weren't validating

- Remove usage of looks_like_number, as the behavior has changed as of
  Scalar::Util 1.39.