script statement thresholds: ignore certain statements

Motivation:
	* could lead to behavior such as:
		"ROUTE, IF, ROUTE, IF and IF took too long..."

	* ignored statements: ROUTE, IF, WHILE, FOR_EACH
(cherry picked from commit dee5b3fc278500efe49289f77a0f802805e8d626)