EPA chief Scott Pruitt resigns