Cruz: I agreed to argue Pa. election case because US needs 'resolution'