Driver of semi that nearly hit girl steps forward, patrol says