Cruz: 'We have an obligation to ensure election was lawful'