The ruling by Mr. Pruitt, in one of his first formal actions as the nation’s top environmental official, rejected a petition filed a decade ago by two environmental groups that had asked that the agency ban all uses of chlorpyrifos.