resource: Simplify region_intersects() by reducing conditionals