A TIGHT RELATION BETWEEN N/O RATIO AND GALAXY STELLAR MASS CAN EXPLAIN THE EVOLUTION OF STRONG EMISSION LINE RATIOS WITH REDSHIFT