Kansas Highway Patrol trooper narrowly avoids head-on collision with semi