Write a script to parse large log files and identify recurring error patterns.
Implement def find_recurring_errors(log_lines, min_occurrences):. Each valid line has timestamp level message; process only lines whose level is ERROR, replace standalone numeric tokens in messages with <N>, and return patterns occurring at least min_occurrences. Return dictionaries with pattern and count, sorted by descending count and then lexicographic pattern. Ignore malformed lines and non-error levels.
def find_recurring_errors(log_lines, min_occurrences):