[Python-checkins] cpython: Issue #27352: Correct the validation of the ImportFrom AST node and simplify