Write a Python script to parse an Apache access log and return the top 10 IP addresses with the most requests.
Implement def top_ips(log_lines):, where log_lines is a list of Apache combined-log-format strings. Return a list of [ip, request_count] pairs ordered by decreasing request count, then lexicographically by IP for ties. Ignore blank or malformed lines that contain no first-field IP. If fewer than 10 distinct IP addresses exist, return all of them.
def top_ips(log_lines):